/**
 * Auto gen via dbpojo-gen.
 */
package com.us.usws.service.ro.impl;

import java.util.Date;
import java.util.List;

import com.us.usws.dao.VideoAuthLogDAO;
import com.us.usws.model.domain.video.VideoAuthLog;
import com.us.usws.service.ro.VideoAuthLogROService;

/**
 * Service RO impl class
 * @author robot
 */
public class VideoAuthLogROServiceImpl implements VideoAuthLogROService {

	/**
	 * DAO instance
	 */
	private VideoAuthLogDAO dao = new VideoAuthLogDAO();

	/**
	 * Get Count.
	 */
	@Override
	public int getTotalCount() {
		return dao.getTotalCount();
	}

	/**
	 * Get all list.
	 */
	@Override
	public List<VideoAuthLog> getAllVideoAuthLogs() {
		return dao.getAllVideoAuthLogs();
	}

	/**
	 * Get all list by pagination.
	 */
	@Override
	public List<VideoAuthLog> getVideoAuthLogs(int start, int end) {
		return dao.getVideoAuthLogs(start, end);
	}

	/**
	 * Get VideoAuthLog by primary key.
	 */
	@Override
	public VideoAuthLog getVideoAuthLog(String videoUid, Date authDate) {
		VideoAuthLog v = dao.getVideoAuthLog(videoUid, authDate);
		return v;
	}

}